export default class layout {
    constructor() {

    }
    static create(record){
        let object=new layout();
        return object;
    }
    static defaultLayout(){
        return {
            css: "gantt_container",
            rows:[
                {
                    cols: [
                        {view: "grid",scrollX:"scrollHor",scrollY:"scrollVer"},// the default grid view
                        { resizer: true, width: 1 },
                        {view: "timeline",scrollX:"scrollHor",scrollY:"scrollVer"},// the default timeline view
                        {view: "scrollbar",id:"scrollVer"}
                    ]
                },
                {view: "scrollbar",id:"scrollHor"}
            ]
        }
    }
}